import ajax from '@/utils/ajax/index';
import config from '@/config';
import handleCatch from '@/api/handleCatch';

export default {
  pager(limit = 10, page = 1) {
    return ajax.get(config.ajaxApi+'/backend/staff/notice/pager?limit='+limit+'&page='+page)
      .then((res) => res.data)
      .catch(handleCatch);
  }
};
